#include "CPolygon.h"
#include "CRectangle.h"
#include "CTriangle.h"
int main() {
	CRectangle rect;
	CTriangle trgl;
	rect.setValues(4, 5);
	trgl.setValues(4, 5);
	cout << rect.area() << endl;
	cout << trgl.area() << endl;
	system("pause");
	return 0;
}